

def get_exchange_spot_url(exchange_id, symbol):
    coin = symbol.split("/")[0]
    base = symbol.split("/")[1]
    if exchange_id == "binance":
        return f"https://www.binance.com/zh-CN/trade/{coin}_{base}?type=spot"
    if exchange_id == "bitget":
        return f"https://www.bitget.fit/zh-CN/spot/{coin}{base}"
    if exchange_id == "bybit":
        return f"https://www.bybit.com/zh-MY/trade/spot/{coin}/{base}"
    if exchange_id == "gate":
        return f"https://www.gate.io/zh/trade/{coin}_{base}"
    if exchange_id == "kucoin":
        return f"https://www.kucoin.com/price/{coin}"
    return None